<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf8">
        <script>

            function ce(){
            alert("test");
            }

            function test(){
                var str = shop.getUserInfo();
                alert(str);
            }
            window.onload = function(){
                shop.getUserInfo();
            }

        </script>
        <head><title>测试</title></head>
        <body>
        <button onclick="test()">走起</button>
    </body>
    </head>
</html>
